# Contributor: leafduo <leafduo@gmail.com>
pkgname=linuxqq
pkgver=110
pkgrel=1
pkgdesc="QQ - The most popular free instant messaging program in China."
url="http://www.qq.com/"
license=("custom")
depends=('gtk2>=2.10' 'cairo' 'glibc>=2.0' 'pango>=1.0' 'glib2>=2.0')
provides=('qq')
conflicts=('qq')
arch=('i686')
makedepends=('tar')
source=(http://dl_dir.qq.com/linuxqq/linuxqq_v1.0.2-beta1_i386.deb)
md5sums=('e269697840f53a8ea8306e600fbd4ed7')
build() {
    cd $startdir/src/
    ar vx linuxqq_v1.0.2-beta1_i386.deb
    tar xfz data.tar.gz
    cp -a $startdir/src/usr $startdir/pkg
    chmod 755 $startdir/pkg/usr/share/doc/linuxqq
    chmod 644 $startdir/pkg/usr/share/doc/linuxqq/qq
}
